package com.woniuxy.commons.entity.sale.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.woniuxy.commons.entity.sale.ChooseProduceMsg;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 选货单号(SoAccount)实体类
 *
 * @author makejava
 * @since 2022-04-18 20:02:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ApiModel(value = "选货单号实体类")
public class SoAccountDto implements Serializable {
    private static final long serialVersionUID = 178491407784253006L;

    @ExcelProperty("选货单id")
    @ApiModelProperty(value = "选货单id")
    private Integer soId;

    @ExcelProperty("选货单名字")
    @ApiModelProperty(value = "选货单名字")
    private String name;

    @ExcelProperty("客户名")
    @ApiModelProperty(value = "客户名")
    private String customer;

    @ExcelProperty("部门")
    @ApiModelProperty(value = "部门")
    private String dept;

    @ExcelProperty("选货单状态")
    @ApiModelProperty(value = "选货单状态")
    private String soStatus;

    @ExcelProperty("货品成色")
    @ApiModelProperty(value = "货品成色")
    private String condition;

    @ExcelProperty("产品发货仓库")
    @ApiModelProperty(value = "产品发货仓库")
    private String repository;

    @ExcelProperty("选货单操作状态")
    @ApiModelProperty(value = "选货单操作状态")
    private String soOperateStatus;

    @ExcelProperty("选货单产品品类")
    @ApiModelProperty(value = "选货单产品品类")
    private String soType;

    @ExcelProperty("商品数量")
    @ApiModelProperty(value = "商品数量")
    private Integer amount;

    @ExcelProperty("产品重量")
    @ApiModelProperty(value = "产品重量")
    private Integer weight;

    @ExcelProperty("创建时间")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "选择地区")
    private String regin;


    @ApiModelProperty(value = "当前选货单下对应的产品信息")
    private List<ChooseProduceMsg> chooseProduceMsgs;


}

